<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0,user-scalable=no" />
    <title><%= htmlWebpackPlugin.options.title %></title>
    <link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
    <link
      rel="stylesheet"
      href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css"
    />
    <script src="https://unpkg.com/aos@next/dist/aos.js"></script>
    <script type="text/javascript" src="./config.js"></script>
    <script src="https://g.alicdn.com/dingding/dingtalk-jsapi/2.10.3/dingtalk.open.js"></script>
    <script src='https://g.alicdn.com/code/npm/@ali/dingtalk-h5-remote-debug/0.1.3/index.js'></script>
    <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate"> <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Expires" content="0">
  </head>
  <body>
    <div id="root"></div>
    <script src="https://lf1-cdn-tos.bytegoofy.com/obj/iconpark/icons_7752_15.77db17896ecae88851605c518cedbb1d.es5.js"></script>
    <div id="noDing">
      请使用钉钉打开
    </div>
  </body>
  <script>
    AOS.init()
    // var isDing = window.navigator.userAgent.includes("DingTalk")
    // if(!isDing) {
    //   if(localStorage.getItem("TEST_TYPE") && localStorage.getItem("TEST_TYPE") == 'TEST_DEYY') {
    //     console.log(localStorage.getItem("TEST_TYPE"))
    //   } else {
    //     document.getElementById('root').style.display = 'none'
    //     document.getElementById('noDing').style.display = 'block'
    //   }
    // }
    window.addEventListener('unhandledrejection', function browserRejectionHandler(event) {
        event && event.preventDefault() 
    })
  </script>
  <style>
    #noDing {
      display: none;
      text-align: center;
    }
  </style>
</html>
